﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WarehouseManagement.Domain.Entity
{

    /// <summary>
    /// 仓库表
    /// </summary>
    [SugarTable("Warehouse")]
    public class Warehouse:Audit
    {
        /// <summary>
        /// 仓库id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int WarehouseId { get; set; }

        /// <summary>
        /// 仓库编号
        /// </summary>
        public string? WNumber { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WName { get; set; }
        /// <summary>
        /// 所属类别
        /// </summary>
        public int? WType { get; set; }
        /// <summary>
        /// 仓库地址
        /// </summary>
        public string? WAddress { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? WarehouseRemark { get; set; }
    }
    /// <summary>
    /// 仓库分页
    /// </summary>
    public class Warehousepage
    {
        /// <summary>
        /// 总条数
        /// </summary>
        public int listcount { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int pagecount { get; set; }
        public List<Warehouse> list { get; set; }
    }
}
